#_*_ coding: utf-8 _*_
from dajaxice.core import dajaxice_config
from django.conf.urls import patterns, include, url
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
from django.conf import settings
admin.autodiscover()


#Ссылки приложения dashboard
urlpatterns = patterns('dashboard.views',
    url(r'^$', 'Tiles'),
)


#Ссылки приложения documentation
urlpatterns += patterns('documentation.views',
    url(r'hello/$','Hello'),
    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    #url(r'META/$', 'display_meta'),
    #url(r'contact/$', 'contact'),
    url(r'News/$', 'SiteNews'),
    url(r'^documentation/$', 'Docums'),
    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)


#Ссылки приложения bpk
urlpatterns += patterns('bpk.views',
    url(r'^bpk/$', 'Bpk'),
)


#Ссылки приложения gb
urlpatterns += patterns('gb.views',
    url(r'^gb/$', 'gb'),
)


#Ссылки ajax-подсистемы
urlpatterns += patterns('',
    url(dajaxice_config.dajaxice_url, include('dajaxice.urls')),
)


#Ссылки надстройки админки
urlpatterns += patterns('',
    url(r'^admin_tools/', include('admin_tools.urls')),
)